package cn.com.lei.du.config;

import cn.com.lei.du.filter.SecondFilter;
import cn.com.lei.du.filter.ServerFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FilterConfig {

    @Bean
    public ServerFilter serverFilter(){
        return new ServerFilter();
    }

    @Bean
    public SecondFilter secondFilter(){
        return new SecondFilter();
    }
}
